<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>修改用户信息</title>
    {include file="include/top"}
</head>
<body>

<div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-app-form-tags"
     style="padding: 20px 0 0 0;">
  {include file="include/input" class2='layui-form-item' type='text' title="昵称" name='nickname' value='<?php echo isset($data["nickname"])?$data["nickname"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='text' title="姓名" name='username' value='<?php echo isset($data["username"])?$data["username"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='text' title="手机" name='mobile' value='<?php echo isset($data["mobile"])?$data["mobile"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='text' title="上级" name='pathid' value='<?php echo isset($data["pathid"])?$data["pathid"]:"";?>'}
  {include file="include/input" readonly='readonly' class2='layui-form-item' type='text' title="等级" name='level' value='<?php echo isset($data["levelStr"])?$data["levelStr"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='date' title="等级期限" name='levelTime' value='<?php echo isset($data["levelTime"])?$data["levelTime"]:"";?>'}
  {include file="include/input" readonly='readonly' class2='layui-form-item' type='text' title="代理城市" name='agent' value='<?php echo isset($data["agent"])?$data["agent"]:"";?>'}
  {include file="include/input" readonly='readonly' class2='layui-form-item' type='text' title="代理区县" name='agentCite' value='<?php echo isset($data["agentCite"])?$data["agentCite"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='date' title="代理期限" name='agentTime' value='<?php echo isset($data["agentTime"])?$data["agentTime"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='text' title="推广码" name='userCode' value='<?php echo isset($data["userCode"])?$data["userCode"]:"";?>'}
  {include file="include/input" class2='layui-form-item' type='text' title="分组" name='group' value='<?php echo isset($data["group"])?$data["group"]:"";?>'}

    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline">
            <select name="status">
                <option value="0"
                <?php if(isset($data['status']) && $data['status']==1){echo 'selected';} ?>>待审核</option>
                <option value="-1"
                <?php if(isset($data['status']) && $data['status']==-1){echo 'selected';} ?>>禁用</option>
                <option value="2"
                <?php if(isset($data['status']) && $data['status']==2){echo 'selected';} ?>>已审核</option>
                <option value="0"
                <?php if(isset($data['status']) && $data['status']==0){echo 'selected';} ?>>注册</option>
            </select>
        </div>
    </div>
</div>

{include file="include/js"}
<script>
    layui.config({
        base: '/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'form'], function () {
        var $ = layui.$;
        var form = layui.form;
    });
</script>
</body>
</html>